package msgs;
/**
 * Message for requesting profiles
 * Team 9: Andrew Hayworth, Brian Parrella, Ryan Kortmann, Nina Papa
 * @author Andrew Hayworth
 */
public class ProfileMsg extends ClientMsg {
	private String wantsProfile;
	private String profile;
	
	public ProfileMsg(String ip, String name, String pwd, byte[] key, String wantsProfile) {
		super(ip, name, pwd, key);
		this.wantsProfile = wantsProfile;
	}
	
	public ProfileMsg (String ip, String name, String pwd, byte[] key, boolean update, String profile) {
		super(ip, name, pwd, key);
		this.profile = profile;
	}

	/**
	 * @return the wantsProfile
	 */
	public String getWantsProfile() {
		return wantsProfile;
	}

	/**
	 * @param wantsProfile the wantsProfile to set
	 */
	public void setWantsProfile(String wantsProfile) {
		this.wantsProfile = wantsProfile;
	}

	/**
	 * @return the profile
	 */
	public String getProfile() {
		return profile;
	}

	/**
	 * @param profile the profile to set
	 */
	public void setProfile(String profile) {
		this.profile = profile;
	}


	
	
}
